package com.deep.stream.models;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author dell
 * @create 2022/7/29 12:35
 */

public class OrganizationChangeModel implements Serializable {
    private String type;
    private String action;
    private String organizationId;
    private String correlationId;


    public OrganizationChangeModel() {
    }

    public OrganizationChangeModel(String type, String action, String organizationId, String correlationId) {
        super();
        this.type = type;
        this.action = action;
        this.organizationId = organizationId;
        this.correlationId = correlationId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }


    public String getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId;
    }


    public String getCorrelationId() {
        return correlationId;
    }

    public void setCorrelationId(String correlationId) {
        this.correlationId = correlationId;
    }


    @Override
    public String toString() {
        return "OrganizationChangeModel{" +
                "type='" + type + '\'' +
                ", action='" + action + '\'' +
                ", organizationId='" + organizationId + '\'' +
                ", correlationId='" + correlationId + '\'' +
                '}';
    }
}